package com.jsbs.iam.ident.mapper;

import com.jsbs.iam.ident.entity.IamLoginLog;
import com.jsbs.iam.ident.entity.UserLogPage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IamLoginLogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(IamLoginLog record);

    int insertSelective(IamLoginLog record);

    IamLoginLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(IamLoginLog record);

    int updateByPrimaryKey(IamLoginLog record);

    /**
     * 登录日志分页、搜索
     * @param userLogPage
     * @return
     */
    List<IamLoginLog> getLoginLogPage (UserLogPage userLogPage);
}